/*
 * @author: Archy
 * @Date: 2022-03-15 11:16:01
 * @LastEditors: Archy
 * @LastEditTime: 2022-03-18 14:22:53
 * @FilePath: \arkgen\react\src\pages\store\index.tsx
 * @description: 
 */

import { useMount } from "ahooks";
import React, { Component, useEffect, useRef } from "react";
import { createApp } from "vue";
import { renderToString } from 'vue/server-renderer'
// import component from './compoent'

const Store: React.FC = () => {
  const component = useRef()

  useEffect(async () => {
    const draft = await import('http://localhost:4000/store/components/button/button.js')
    console.log(draft);
    // createApp(component.current).mount('#button')
  }, [])



  return (<div id="button"></div>)
}

export default Store